// 注册
export interface IRegister {
  username: string
  password: string
  repassword: string
}
// 登陆
export interface ILogin {
  username: string
  password: string
}

// 更新用户基本资料
export interface IUserInfo {
  id: number
  username: string
  nickname: string
  email: string
  user_pic?: null
}

// 更新密码
export interface UpdatePasswordParams {
  old_pwd: string
  new_pwd: string
  re_pwd: string
}
